<template>
  <view class="content">
    <image class="logo" src="/static/logo.png"></image>
    <view class="text-area">
      <text class="title">{{ title }}</text>
      <hello-word />
      <uv-button @click="handleClick" type="primary" text="确定"></uv-button>
	  <uv-button @click="handleClick2" type="primary" text="camera"></uv-button>
    </view>
  </view>
</template>

<script setup>
const title = 'template'
const handleClick = () => {
  uni.navigateTo({ url: '/pages/index2/index' })
}
const handleClick2 = () => {
  uni.navigateTo({ url: '/pages/camera/camera' })
}
</script>

<style>
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 200rpx;
  width: 200rpx;
  margin-top: 200rpx; 
  margin-bottom: 50rpx;
}

.text-area {
  display: flex;
  justify-content: center;
}

.title {
  font-size: 36rpx;
  color: #8f8f94;
}
</style>
